//
//  UIAlertController+AlertController.h
//  WestWolves
//
//  Created by JL on 16/2/24.
//  Copyright © 2016年 ZJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIAlertController (AlertController)
+(instancetype)alertControllerWithTitle:(NSString *)title message:(NSString *)message  preferredStyle:(UIAlertControllerStyle)preferredStyle andCancelAction:(void (^)(void))cancelAction andOtherAction:(void (^)(int tag))otherAction cancelButtonTitle:(NSString *)cancelTitle  otherButtonTitles:(NSString *)otherTitles,...;
+(instancetype)alertControllerWithTitle:(NSString *)title message:(NSString *)message  preferredStyle:(UIAlertControllerStyle)preferredStyle andCancelAction:(void (^)(void))cancelAction andOtherAction:(void (^)(int tag))otherAction cancelButtonTitle:(NSString *)cancelTitle  otherButtonInArray:(NSArray *)others;
@end
